package com.wb3.organizer.dao;

import java.util.List;

import com.wb3.organizer.model.Account;

/**
 * 数据库处理层接口，由service层进行调用
 * 实现对Account的增删改查
 * @author pharen
 */
public interface AccountDAO {

	public void save(Account account);
	
	public void update(Account account);
	
	public void delete(Account account);
	
	public Account getAccount(int accid);
	
	public Account getAccount(String username);
	
	public List<Account> getAll();
}
